package Calculation.bigdecimal;

import java.math.BigDecimal;

/**
 * @description:加减乘除
 * @author: cyy
 **/
public class chufa {
    public static void main(String[] args) {
        /*BigDecimal rate=new BigDecimal(3).divide(BigDecimal.valueOf(7),4,BigDecimal.ROUND_HALF_UP);
        System.out.println("rate:"+rate.multiply(new BigDecimal(100))+"%");*/

        BigDecimal t1=new BigDecimal("1.25");
        t1.add(new BigDecimal(0));
        System.out.println("shitutuya:"+t1);
    }
}
